package com.baizhi.service;

import com.baizhi.entity.Product;

import java.util.List;

public interface ProductService {
    public List<Product> selectProducts(Integer pageNum,Integer pageSize);
    public Product selectProductById(Integer id);
    public void insertProduct(Product p);
    public void deleteProductById(Integer id);
    public void updateProduct(Product p);
}
